﻿using System;
using System.Drawing;

namespace HslCommunication.Controls
{
	/// <summary>
	/// 曲线数据对象
	/// </summary>
	// Token: 0x02000172 RID: 370
	internal class HslCurveItem
	{
		/// <summary>
		/// 实例化一个对象
		/// </summary>
		// Token: 0x06001E99 RID: 7833 RVA: 0x00093EBF File Offset: 0x000920BF
		public HslCurveItem()
		{
			this.LineThickness = 1f;
			this.IsLeftFrame = true;
			this.Visible = true;
		}

		/// <summary>
		/// 线条的宽度
		/// </summary>
		// Token: 0x17000645 RID: 1605
		// (get) Token: 0x06001E9A RID: 7834 RVA: 0x00093EEC File Offset: 0x000920EC
		// (set) Token: 0x06001E9B RID: 7835 RVA: 0x00093EF4 File Offset: 0x000920F4
		public float LineThickness { get; set; }

		/// <summary>
		/// 曲线颜色
		/// </summary>
		// Token: 0x17000646 RID: 1606
		// (get) Token: 0x06001E9C RID: 7836 RVA: 0x00093EFD File Offset: 0x000920FD
		// (set) Token: 0x06001E9D RID: 7837 RVA: 0x00093F05 File Offset: 0x00092105
		public Color LineColor { get; set; }

		/// <summary>
		/// 是否左侧参考系，True为左侧，False为右侧
		/// </summary>
		// Token: 0x17000647 RID: 1607
		// (get) Token: 0x06001E9E RID: 7838 RVA: 0x00093F0E File Offset: 0x0009210E
		// (set) Token: 0x06001E9F RID: 7839 RVA: 0x00093F16 File Offset: 0x00092116
		public bool IsLeftFrame { get; set; }

		/// <summary>
		/// 本曲线是否显示出来，默认为显示
		/// </summary>
		// Token: 0x17000648 RID: 1608
		// (get) Token: 0x06001EA0 RID: 7840 RVA: 0x00093F1F File Offset: 0x0009211F
		// (set) Token: 0x06001EA1 RID: 7841 RVA: 0x00093F27 File Offset: 0x00092127
		public bool Visible { get; set; }

		/// <summary>
		/// 数据
		/// </summary>
		// Token: 0x040006D1 RID: 1745
		public float[] Data = null;
	}
}
